package com.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient   //注册客户端
@ComponentScan({"com.service","com.action"})
public class MainBoot2 {

	public static void main(String[] args) {
		SpringApplication.run(MainBoot2.class, args);
	}

}
